home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / pdcurs21 / portable / traceoff.c < prev    next >
C/C++ Source or Header  |  1993-06-18  |  1KB  |  46 lines

  1. #define CURSES_LIBRARY    1
  2. #include <curses.h>
  3. #undef traceoff
  4.  
  5. #ifdef PDCDEBUG
  6. char *rcsid_traceoff = "$Header: C:\CURSES\portable\RCS\traceoff.c 2.1 1993/06/18 20:19:32 MH Rel MH $";
  7. #endif
  8.  
  9.  
  10.  
  11.  
  12. /*man-start*********************************************************************
  13.  
  14.   traceoff()    - stop tracing curses functions
  15.  
  16.   X/Open Description:
  17.      This routine turns off internal tracing of the curses functions.
  18.      Tracing will only occur when the library is compiled with the
  19.      appropriate macro defined. In the case of PDCurses, this macro is
  20.      PDCDEBUG.
  21.      This function is defined as a macro.
  22.  
  23.   X/Open Return Value:
  24.      The traceoff() function returns OK.
  25.  
  26.   X/Open Errors:
  27.      No errors are defined for this function.
  28.  
  29.   Portability:
  30.      PDCurses    int traceoff( void );
  31.      X/Open Dec '88    int traceoff( void );
  32.      BSD Curses    int traceoff( void );
  33.      SYS V Curses    int traceoff( void );
  34.  
  35. **man-end**********************************************************************/
  36.  
  37. int    traceoff(void)
  38. {
  39. #ifdef PDCDEBUG
  40.     if (trace_on) PDC_debug("traceoff() - called\n");
  41. #endif
  42.  
  43.     trace_on = FALSE;
  44.     return( OK );
  45. }
  46.